/**
 * 
 */
package easyservice.network;

import java.util.EventListener;

import easyservice.protocol.Command;

/**
 * TODO Doc
 * 
 * @author Rodrigo Barbosa Lira
 *
 */
public interface NetworkListener extends EventListener {
	
	/**
	 * Method shot when a message arrives. 
	 *  
	 * @param command
	 * @return
	 */
	public Command onReceiveMessage(Command command);

}
